n=input("请输入n的值")
n=int(n)
for i in range (1,n):
     n=i*n
print(n)